#ifndef SerialBtn_H
#define SerialBtn_H

#include <QVariant>
#include <QSerialPort>


class SerialBtn : public QObject
{
    Q_OBJECT
public:
    explicit SerialBtn(QObject *parent = nullptr);

signals:
    ///
    void sigPowerOn();
    void sigStart();

private slots:
    void onReadReady();

private:
    QSerialPort* m_serialPort;
};

#endif // SerialBtn_H
